package observer;

import javax.swing.JTextField;

@SuppressWarnings("serial")
public class ValoareCurenta extends JTextField implements Observer{

	@Override
	public void upDate(Subject s) {
		this.setText(Integer.toString(s.getVal()));
	}
	
}
